#include "stdafx.h"
#include "DataBlock.h"
#include <algorithm>
#include "AsyncFileWriter.h"
#include "BufferReader.h"

namespace DataManager
{

int DataFrame::SerializeToFile(AsyncFileWriter * writer) const
{
	return raw_data_frame_unit_.SerializeToFile(writer);
}

bool  DataFrame::SerializeFromFile(BufferReader *  reader )
{
	return raw_data_frame_unit_.SerializeFromFile(reader);
}
 

}